To create a function you define its name, any values ("arguments"), and some statements:
function myfunction(argument1,argument2,etc)
{
some statements
} |
#Title: JavaScript Functions : How to Define a Function
#Element: 233: JavaScript Functions : How to Define a Function
#Article: 170: JavaScript Functions